package com.googlecode.gwtbb.server.dao;

import com.googlecode.gwtbb.client.shared.entity.properties.GetId;

import java.util.List;

/**
 * @author Abraham Grief
 * @version $Id$
 * @since Jul 6, 2008
 */
public interface SelectDao<T extends GetId> {
	void handleAll(EntityHandler<T> handler);

	T select(Long id);

	List<T> selectAll();
}
